<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
    document.querySelector('text').setAttribute('x', 200);
}
onload = runRepaintAndPixelTest;
</script>
<style>
text {
  font-size: 75px;
  font-family: sans-serif;
  text-anchor: end;
  outline: 5px solid blue;
  outline-offset: 10px;
}
</style>
<svg width="600">
  <text x="240" y="100" width="100" height="100" fill="green">Foo</text>
</svg>
